//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.alarm.model.alarmhisndata;

import ciicos.base.Pagination;
import ciicos.util.generater.DataSwapUtil;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

public class AlarmHisNDataPagination extends Pagination {
    private String selectKey;
    private String json;
    private String dataType;
    private String superQueryJson;
    private Integer confirm;
    @JsonProperty("tagarea")
    private String tagarea;
    @JsonProperty("tagname")
    private String tagname;
    @JsonProperty("alarmtype")
    private List alarmtype;
    @JsonProperty("arerList")
    private List<String> arerList;
    private String menuId;
    private String moduleId;
    private String tagdesc;
    private String creatortime_name;

    public void setAlarmtype(Object alarmtype) {
        this.alarmtype = DataSwapUtil.convertToList(alarmtype);
    }

    public String getSelectKey() {
        return this.selectKey;
    }

    public String getJson() {
        return this.json;
    }

    public String getDataType() {
        return this.dataType;
    }

    public String getSuperQueryJson() {
        return this.superQueryJson;
    }

    public Integer getConfirm() {
        return this.confirm;
    }

    public String getTagarea() {
        return this.tagarea;
    }

    public String getTagname() {
        return this.tagname;
    }

    public List getAlarmtype() {
        return this.alarmtype;
    }

    public List<String> getArerList() {
        return this.arerList;
    }

    public String getMenuId() {
        return this.menuId;
    }

    public String getModuleId() {
        return this.moduleId;
    }

    public String getTagdesc() {
        return this.tagdesc;
    }

    public String getCreatortime_name() {
        return this.creatortime_name;
    }

    public void setSelectKey(String selectKey) {
        this.selectKey = selectKey;
    }

    public void setJson(String json) {
        this.json = json;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public void setSuperQueryJson(String superQueryJson) {
        this.superQueryJson = superQueryJson;
    }

    public void setConfirm(Integer confirm) {
        this.confirm = confirm;
    }

    @JsonProperty("tagarea")
    public void setTagarea(String tagarea) {
        this.tagarea = tagarea;
    }

    @JsonProperty("tagname")
    public void setTagname(String tagname) {
        this.tagname = tagname;
    }

    @JsonProperty("arerList")
    public void setArerList(List<String> arerList) {
        this.arerList = arerList;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public void setTagdesc(String tagdesc) {
        this.tagdesc = tagdesc;
    }

    public void setCreatortime_name(String creatortime_name) {
        this.creatortime_name = creatortime_name;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof AlarmHisNDataPagination)) {
            return false;
        } else {
            AlarmHisNDataPagination other = (AlarmHisNDataPagination)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$confirm = this.getConfirm();
                Object other$confirm = other.getConfirm();
                if (this$confirm == null) {
                    if (other$confirm != null) {
                        return false;
                    }
                } else if (!this$confirm.equals(other$confirm)) {
                    return false;
                }

                Object this$selectKey = this.getSelectKey();
                Object other$selectKey = other.getSelectKey();
                if (this$selectKey == null) {
                    if (other$selectKey != null) {
                        return false;
                    }
                } else if (!this$selectKey.equals(other$selectKey)) {
                    return false;
                }

                Object this$json = this.getJson();
                Object other$json = other.getJson();
                if (this$json == null) {
                    if (other$json != null) {
                        return false;
                    }
                } else if (!this$json.equals(other$json)) {
                    return false;
                }

                Object this$dataType = this.getDataType();
                Object other$dataType = other.getDataType();
                if (this$dataType == null) {
                    if (other$dataType != null) {
                        return false;
                    }
                } else if (!this$dataType.equals(other$dataType)) {
                    return false;
                }

                Object this$superQueryJson = this.getSuperQueryJson();
                Object other$superQueryJson = other.getSuperQueryJson();
                if (this$superQueryJson == null) {
                    if (other$superQueryJson != null) {
                        return false;
                    }
                } else if (!this$superQueryJson.equals(other$superQueryJson)) {
                    return false;
                }

                Object this$tagarea = this.getTagarea();
                Object other$tagarea = other.getTagarea();
                if (this$tagarea == null) {
                    if (other$tagarea != null) {
                        return false;
                    }
                } else if (!this$tagarea.equals(other$tagarea)) {
                    return false;
                }

                Object this$tagname = this.getTagname();
                Object other$tagname = other.getTagname();
                if (this$tagname == null) {
                    if (other$tagname != null) {
                        return false;
                    }
                } else if (!this$tagname.equals(other$tagname)) {
                    return false;
                }

                Object this$alarmtype = this.getAlarmtype();
                Object other$alarmtype = other.getAlarmtype();
                if (this$alarmtype == null) {
                    if (other$alarmtype != null) {
                        return false;
                    }
                } else if (!this$alarmtype.equals(other$alarmtype)) {
                    return false;
                }

                Object this$arerList = this.getArerList();
                Object other$arerList = other.getArerList();
                if (this$arerList == null) {
                    if (other$arerList != null) {
                        return false;
                    }
                } else if (!this$arerList.equals(other$arerList)) {
                    return false;
                }

                Object this$menuId = this.getMenuId();
                Object other$menuId = other.getMenuId();
                if (this$menuId == null) {
                    if (other$menuId != null) {
                        return false;
                    }
                } else if (!this$menuId.equals(other$menuId)) {
                    return false;
                }

                Object this$moduleId = this.getModuleId();
                Object other$moduleId = other.getModuleId();
                if (this$moduleId == null) {
                    if (other$moduleId != null) {
                        return false;
                    }
                } else if (!this$moduleId.equals(other$moduleId)) {
                    return false;
                }

                Object this$tagdesc = this.getTagdesc();
                Object other$tagdesc = other.getTagdesc();
                if (this$tagdesc == null) {
                    if (other$tagdesc != null) {
                        return false;
                    }
                } else if (!this$tagdesc.equals(other$tagdesc)) {
                    return false;
                }

                Object this$creatortime_name = this.getCreatortime_name();
                Object other$creatortime_name = other.getCreatortime_name();
                if (this$creatortime_name == null) {
                    if (other$creatortime_name != null) {
                        return false;
                    }
                } else if (!this$creatortime_name.equals(other$creatortime_name)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof AlarmHisNDataPagination;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $confirm = this.getConfirm();
        result = result * 59 + ($confirm == null ? 43 : $confirm.hashCode());
        Object $selectKey = this.getSelectKey();
        result = result * 59 + ($selectKey == null ? 43 : $selectKey.hashCode());
        Object $json = this.getJson();
        result = result * 59 + ($json == null ? 43 : $json.hashCode());
        Object $dataType = this.getDataType();
        result = result * 59 + ($dataType == null ? 43 : $dataType.hashCode());
        Object $superQueryJson = this.getSuperQueryJson();
        result = result * 59 + ($superQueryJson == null ? 43 : $superQueryJson.hashCode());
        Object $tagarea = this.getTagarea();
        result = result * 59 + ($tagarea == null ? 43 : $tagarea.hashCode());
        Object $tagname = this.getTagname();
        result = result * 59 + ($tagname == null ? 43 : $tagname.hashCode());
        Object $alarmtype = this.getAlarmtype();
        result = result * 59 + ($alarmtype == null ? 43 : $alarmtype.hashCode());
        Object $arerList = this.getArerList();
        result = result * 59 + ($arerList == null ? 43 : $arerList.hashCode());
        Object $menuId = this.getMenuId();
        result = result * 59 + ($menuId == null ? 43 : $menuId.hashCode());
        Object $moduleId = this.getModuleId();
        result = result * 59 + ($moduleId == null ? 43 : $moduleId.hashCode());
        Object $tagdesc = this.getTagdesc();
        result = result * 59 + ($tagdesc == null ? 43 : $tagdesc.hashCode());
        Object $creatortime_name = this.getCreatortime_name();
        result = result * 59 + ($creatortime_name == null ? 43 : $creatortime_name.hashCode());
        return result;
    }

    public String toString() {
        return "AlarmHisNDataPagination(selectKey=" + this.getSelectKey() + ", json=" + this.getJson() + ", dataType=" + this.getDataType() + ", superQueryJson=" + this.getSuperQueryJson() + ", confirm=" + this.getConfirm() + ", tagarea=" + this.getTagarea() + ", tagname=" + this.getTagname() + ", alarmtype=" + this.getAlarmtype() + ", arerList=" + this.getArerList() + ", menuId=" + this.getMenuId() + ", moduleId=" + this.getModuleId() + ", tagdesc=" + this.getTagdesc() + ", creatortime_name=" + this.getCreatortime_name() + ")";
    }
}
